Optimal. Leaf size=76 \[ \frac {2 A b^2 \sin (c+d x)}{3 d (b \cos (c+d x))^{3/2}}+\frac {2 b (A+3 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 d \sqrt {b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {16, 3012, 2642, 2641} \[ \frac {2 A b^2 \sin (c+d x)}{3 d (b \cos (c+d x))^{3/2}}+\frac {2 b (A+3 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 d \sqrt {b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2641
Rule 2642
Rule 3012
Rubi steps
\begin {align*} \int \sqrt {b \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right ) \sec ^3(c+d x) \, dx &=b^3 \int \frac {A+C \cos ^2(c+d x)}{(b \cos (c+d x))^{5/2}} \, dx\\ &=\frac {2 A b^2 \sin (c+d x)}{3 d (b \cos (c+d x))^{3/2}}+\frac {1}{3} (b (A+3 C)) \int \frac {1}{\sqrt {b \cos (c+d x)}} \, dx\\ &=\frac {2 A b^2 \sin (c+d x)}{3 d (b \cos (c+d x))^{3/2}}+\frac {\left (b (A+3 C) \sqrt {\cos (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{3 \sqrt {b \cos (c+d x)}}\\ &=\frac {2 b (A+3 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 d \sqrt {b \cos (c+d x)}}+\frac {2 A b^2 \sin (c+d x)}{3 d (b \cos (c+d x))^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.21, size = 56, normalized size = 0.74 \[ \frac {2 b \left ((A+3 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )+A \tan (c+d x)\right )}{3 d \sqrt {b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.40, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C \cos \left (d x + c\right )^{2} + A\right )} \sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right )^{3}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + A\right )} \sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right )^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.38, size = 292, normalized size = 3.84 \[ -\frac {2 \left (-2 A \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-2 \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \left (A +3 C \right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+A \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )+3 C \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )\right ) b \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}}{3 \sqrt {-b \left (2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-\left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right )}\, \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + A\right )} \sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right )^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (C\,{\cos \left (c+d\,x\right )}^2+A\right )\,\sqrt {b\,\cos \left (c+d\,x\right )}}{{\cos \left (c+d\,x\right )}^3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________